import http from "@/utils/request"

// 上传头像
export function reviseUserImg(val){
    return http({
        url:'/hr/reviseUserImg',
        method:'post',
        data:val
    })
}


//取消指定用户收藏 参数为userId
export function delCollectedUser(val){
    return http({
        url:'/self/delCollectedUser',
        method:'get',
        params:val
    })
}


//指定用户收藏 参数为userId
export function collectUser(val){
    return http({
        url:'/self/collectUser',
        method:'get',
        params:val
    })
}




//指定用户取消拉黑 参数为userId
export function delBlockUser(val){
    return http({
        url:'/self/delBlockUser',
        method:'get',
        params:val
    })
}

//指定用户拉黑 参数为userId
export function blockUser(val){
    return http({
        url:'/self/blockUser',
        method:'get',
        params:val
    })
}

//获取用户简历
export function getUserOnlineResume(val){
    return http({
        url:'/hr/getUserOnlineResume',
        method:'get',
        params:val
    })
}

//获取用户信息和收藏未收藏 拉黑未拉黑
export function getUserInfo(val){
    return http({
        url:'/hr/getUserInfo',
        method:'get',
        params:val
    })
}

